
 <div class="footer clearfix">
        <div class="container">
            <ul>

				<php>
					//if(!class_exists('NavMenuModel'))
						
					$navMenu = new NavMenuModel();
					$parents = $navMenu->where(['nav_id'=>2, 'parent_id' => ['<', 1]])->select();
					$ids = [];
					foreach($parents as $val){
						$ids[] = $val['id'];
					}
					$menuList = $navMenu->where(['parent_id' => ['in', $ids]])->select();
					foreach($parents as $key => $val){
						echo "<li>";
						echo "<h3>".$val['name_en'];
						
						echo "</h3>";
						
						echo "<ul>";
						foreach($menuList as $value){
							if($value['parent_id'] == $val['id']){
								echo "<li><a href='".$value['href']."' target='".$value['target']."'>".$value['name_en']."</a> </li>";
							}
						}
						echo "</ul>";
						echo "</li>";
					}
					
				</php>

                <li class="contactus">
                    <h3>Contact us
                    </h3>
                    <p>
						Room 16A06-07, Luohu District, Shenzhen
                        <br>Fax: +86 755-25901858
                        <br>Mail: info@eanta365.com
                    </p>
                </li>
            </ul>
        </div>
    </div>
    <script>
        var swiper = new Swiper('.swiper-container', {
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
            }
        });
		
    </script>
</body>

</html>